<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 
            :link ：未访问状态
            :hover : 鼠标移入状态
            :visited : 访问之后状态
            :active : 点击状态

            a:link 放在第一个
            a:hover放在a:active前面
        */




        a:visited {
            color: red;
        }

        a:hover {
            color: blue;
        }

        a:active {
            color: orange;
        }
    </style>
</head>

<body>
    <a href="#">百度一下</a>
</body>

</html>